package org.MobileSales.Client;

import org.MobileSales.Model.Products.*;

public class ProductServiceClient extends ServiceClientBase {

	public ProductServiceClient(Configuration configuration) {
		super(configuration);
	}
	
	public Product getProduct(int productId) {
		String url = this.getMethodURL();
		Product prod = null;
		
		// TODO: get product from url using POST
		
		return prod;
	}
	
	public void storeProduct(Product product) {
		String url = this.getMethodURL();
		
		// TODO: serialize product to json and send to url using POST
	}
}
